package com.cloud.pole.api.user;

import java.io.Serializable;
import java.util.Date;

public class BaseUserApi implements Serializable {
	/**
	 * 用户类型（1：普通会员 10：高级会员 20：店铺商家）
	 */
	public static final int USER_TYPE_MEMBER   = 1;
	public static final int USER_TYPE_SENIOR   = 10;
	public static final int USER_TYPE_MERCHANT = 20;
	
	private static final long serialVersionUID = -4162509259711153315L;

   /**
     * 用户id
     */
    private Long userId;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 性别(2：女 1：男 0:未知)
     */
    private Integer sex;

    /**
     * 邮箱
     */
    private String email;

    /**
     * qq号
     */
    private String qq;

    /**
     * 微信号
     */
    private String weixin;

    /**
     * 手机
     */
    private String mobile;

    /**
     * 手机归宿地
     */
    private String mobileArea;

    /**
     * 电话
     */
    private String phone;

    /**
     * 身份证号码
     */
    private String idcardNo;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 头像
     */
    private String iconPath;

    /**
       * 生日
     */
    private String birthday;

    /**
     * 用户注册来源(后台:bg app:app qq:qq 微信:weixin web:web)
     */
    private String originTag;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 有效标志(0无效 1有效)
     */
    private Integer userStatus;

    /**
     * 最近登陆时间
     */
    private Date loginTime;

    /**
     * 认证状态(-1：认证不通过  0：未认证 1：待审核 2：认证通过)
     */
    private Integer authentStatus;

    /**
     * 审核人人id
     */
    private String checkUserId;

    /**
     * 审核时间
     */
    private Date checkTime;

    /**
     * 审核说明
     */
    private String checkNote;

    /**
     * 身份证正面照
     */
    private String idcardFace;

    /**
     * 身份证背面照
     */
    private String idcardBack;

    /**
     * 手持省份证照
     */
    private String handIdcard;

    /**
     * 国家id
     */
    private String countryId;

    /**
     * 国家
     */
    private String countryName;

    /**
     * 省id
     */
    private String provinceId;

    /**
     * 省
     */
    private String provinceName;

    /**
     * 市id
     */
    private String cityId;

    /**
     * 市
     */
    private String cityName;

    /**
     * 区县id
     */
    private String districtId;

    /**
     * 区县
     */
    private String districtName;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 二维码
     */
    private String qrcode;

    /**
     * 支付锁定状态(0：否 1：是)
     */
    private Integer payLockStatus;

    /**
     * 登陆锁定状态（0：否 1：是）
     */
    private Integer loginLockStatus;

    /**
     * 平台用户公钥
     */
    private String platPublicKey;

    /**
     * 平台用户私钥
     */
    private String platPrivateKey;

    /**
     * 登录禁用（0：否 1：是）
     */
    private Integer isLoginDisable;

    /**
     * 支付禁用（0：否 1：是）
     */
    private Integer isPayDisable;

    /**
     * token
     */
    private String token;

    /**
        * 融云token
     */
    private String rongToken;
    
    
    /**
     * 用户类型（1：普通会员 10：高级会员 20：店铺商家）
     */
    private Integer userType;

    /**
     * 推荐人用户id
     */
    private Integer recommendUserId;
    
    private String marketCode;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getWeixin() {
		return weixin;
	}

	public void setWeixin(String weixin) {
		this.weixin = weixin;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getMobileArea() {
		return mobileArea;
	}

	public void setMobileArea(String mobileArea) {
		this.mobileArea = mobileArea;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getIdcardNo() {
		return idcardNo;
	}

	public void setIdcardNo(String idcardNo) {
		this.idcardNo = idcardNo;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getIconPath() {
		return iconPath;
	}

	public void setIconPath(String iconPath) {
		this.iconPath = iconPath;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getOriginTag() {
		return originTag;
	}

	public void setOriginTag(String originTag) {
		this.originTag = originTag;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getUserStatus() {
		return userStatus;
	}

	public void setUserStatus(Integer userStatus) {
		this.userStatus = userStatus;
	}

	public Date getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}

	public Integer getAuthentStatus() {
		return authentStatus;
	}

	public void setAuthentStatus(Integer authentStatus) {
		this.authentStatus = authentStatus;
	}

	public String getCheckUserId() {
		return checkUserId;
	}

	public void setCheckUserId(String checkUserId) {
		this.checkUserId = checkUserId;
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	public String getCheckNote() {
		return checkNote;
	}

	public void setCheckNote(String checkNote) {
		this.checkNote = checkNote;
	}

	public String getIdcardFace() {
		return idcardFace;
	}

	public void setIdcardFace(String idcardFace) {
		this.idcardFace = idcardFace;
	}

	public String getIdcardBack() {
		return idcardBack;
	}

	public void setIdcardBack(String idcardBack) {
		this.idcardBack = idcardBack;
	}

	public String getHandIdcard() {
		return handIdcard;
	}

	public void setHandIdcard(String handIdcard) {
		this.handIdcard = handIdcard;
	}

	public String getCountryId() {
		return countryId;
	}

	public void setCountryId(String countryId) {
		this.countryId = countryId;
	}

	public String getCountryName() {
		return countryName;
	}

	public void setCountryName(String countryName) {
		this.countryName = countryName;
	}

	public String getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(String provinceId) {
		this.provinceId = provinceId;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getDistrictId() {
		return districtId;
	}

	public void setDistrictId(String districtId) {
		this.districtId = districtId;
	}

	public String getDistrictName() {
		return districtName;
	}

	public void setDistrictName(String districtName) {
		this.districtName = districtName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getQrcode() {
		return qrcode;
	}

	public void setQrcode(String qrcode) {
		this.qrcode = qrcode;
	}

	public Integer getPayLockStatus() {
		return payLockStatus;
	}

	public void setPayLockStatus(Integer payLockStatus) {
		this.payLockStatus = payLockStatus;
	}

	public Integer getLoginLockStatus() {
		return loginLockStatus;
	}

	public void setLoginLockStatus(Integer loginLockStatus) {
		this.loginLockStatus = loginLockStatus;
	}

	public String getPlatPublicKey() {
		return platPublicKey;
	}

	public void setPlatPublicKey(String platPublicKey) {
		this.platPublicKey = platPublicKey;
	}

	public String getPlatPrivateKey() {
		return platPrivateKey;
	}

	public void setPlatPrivateKey(String platPrivateKey) {
		this.platPrivateKey = platPrivateKey;
	}

	public Integer getIsLoginDisable() {
		return isLoginDisable;
	}

	public void setIsLoginDisable(Integer isLoginDisable) {
		this.isLoginDisable = isLoginDisable;
	}

	public Integer getIsPayDisable() {
		return isPayDisable;
	}

	public void setIsPayDisable(Integer isPayDisable) {
		this.isPayDisable = isPayDisable;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getRongToken() {
		return rongToken;
	}

	public void setRongToken(String rongToken) {
		this.rongToken = rongToken;
	}
	
	public Integer getUserType() {
		return userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}

	public Integer getRecommendUserId() {
		return recommendUserId;
	}

	public void setRecommendUserId(Integer recommendUserId) {
		this.recommendUserId = recommendUserId;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getMarketCode() {
		return marketCode;
	}

	public void setMarketCode(String marketCode) {
		this.marketCode = marketCode;
	}
}
